package org.jeecg.modules.building.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.building.entity.TbBuilding;

import java.util.List;

/**
 * @Description: 房屋明细表
 */
public interface TbBuildingMapper extends BaseMapper<TbBuilding> {
//    @Select("select * from tb_building  ORDER BY SUBSTRING(code, 1, 6) ASC, LENGTH(code) ASC, code ASC")
    List<TbBuilding> selectAllCodeASC(TbBuilding tbBuilding);

    List<TbBuilding> selectSummerList(TbBuilding tbBuilding);
}
